

package com.hazelcast.core;

/**
 * An unchecked version of {@link InterruptedException}.
 * <p>
 * Some of the Hazelcast operations may throw an <code>RuntimeInterruptedException</code>
 * if a user thread is interrupted while waiting a response.
 * Hazelcast uses RuntimeInterruptedException to pass InterruptedException up through interfaces
 * that don't have InterruptedException in their signatures. Users should be able to catch and handle
 * <code>RuntimeInterruptedException</code> in such cases as if their threads are interrupted on
 * a blocking operation.
 * </p>
 *
 * @see InterruptedException
 */
public class RuntimeInterruptedException extends HazelcastException {

    public RuntimeInterruptedException() {
    }

    public RuntimeInterruptedException(String message) {
        super(message);
    }
}
